package com.hopedove.callsystem.activity

import android.content.Intent
import android.os.Bundle
import com.hopedove.base.BaseActivity
import com.hopedove.callsystem.activity.MaopiCheck.MaopiMainActivity
import com.hopedove.callsystem.activity.call.CallMainActivity
import com.hopedove.callsystem.databinding.ActivityCallSysMainBinding


class CallSysMainActivity : BaseActivity() {

    lateinit var binding: ActivityCallSysMainBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding = ActivityCallSysMainBinding.inflate(layoutInflater)
        setContentView(binding.root)
        initViewAndEvent()
    }

    private fun initViewAndEvent() {
        binding.maopiBtn.setOnClickListener {
            startActivity(Intent(this, MaopiMainActivity::class.java))
        }

        binding.callBtn.setOnClickListener {
            startActivity(Intent(this, CallMainActivity::class.java))
        }
    }

}